<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/context/commonTags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>部门信息</title>
<t:base type="jquery,easyui,tools"></t:base>
<script type="text/javascript">
	$(function() {
		$('#cc').combotree({
			url : 'organizationController?getParent&selfId=${org.id}',
		});
	});
</script>
</head>
<body style="overflow-y: hidden" scroll="no">
<t:formvalid formid="formobj" layout="div" dialog="true" action="organizationController?save">
	<input name="id" type="hidden" value="${org.id }">
	<fieldset class="step">
	<div class="form"><label class="Validform_label"> 部门名称: </label> <input name="name" class="inputxt" value="${org.name }"  datatype="s3-10">
	<span class="Validform_checktip">部门名称在3~10位字符</span></div>
	<div class="form"><label class="Validform_label"> 职能描述: </label> <input name="available" class="inputxt" value="${org.available }"></div>
	<div class="form"><label class="Validform_label"> 上级部门: </label> <input id="cc" data-options="" name="parent.id" value="${org.parent.name}"></div>
	</fieldset>
</t:formvalid>
</body>
</html>
